﻿using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace Radius.NET.Interface.Entity
{
    /// <summary>
    /// 
    ///</summary>
    [SugarTable("IQC_Check_Report")]
    [Tenant(DbConfigIdConst.QyjConfigId), NotTable]
    public class IqcCheckReport
    {
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "IQCNO", IsPrimaryKey = true)]
        public string Iqcno { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "Date")]
        public DateTime? Date { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "ContactNum")]
        public string ContactNum { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "OrderID")]
        public string OrderID { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "Inventory_ID")]
        public string InventoryId { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "ToReceive_Qty")]
        public decimal? ToreceiveQty { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "Pick_Qty")]
        public decimal? PickQty { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "Summary")]
        public string Summary { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "Maj_Ac")]
        public decimal? MajAc { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "Maj_Re")]
        public decimal? MajRe { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "Min_AC")]
        public decimal? MinAc { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "Min_Re")]
        public decimal? MinRe { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "Good")]
        public decimal? Good { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "Receive_bit")]
        public decimal? ReceiveBit { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "Min_sum")]
        public decimal? MinSum { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "Maj_Sum")]
        public decimal? MajSum { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "Cri_Sum")]
        public decimal? CriSum { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "Verdict")]
        public string Verdict { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "Evidence_Number")]
        public string EvidenceNumber { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "Maker")]
        public string Maker { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "CheckMan")]
        public string CheckMan { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "InDate")]
        public DateTime? InDate { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "Reject")]
        public decimal? Reject { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "Cri_Per")]
        public decimal? CriPer { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "Maj_Per")]
        public decimal? MajPer { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "Min_Per")]
        public decimal? MinPer { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "Rec_Qty")]
        public decimal? RecQty { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "QCStandNO")]
        public string QCStandNO { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "IQCtype")]
        public string IQCtype { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "Project")]
        public string Project { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "Verify")]
        public int? Verify { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "Verifer")]
        public string Verifer { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "ReceiveBitSummary")]
        public string ReceiveBitSummary { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "Receive_biter")]
        public string ReceiveBiter { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "Receive_bitDate")]
        public DateTime? ReceiveBitdate { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "KeepSampleNO")]
        public string KeepSampleNO { get; set; }
        /// <summary>
        ///  
        /// 默认值: (getdate())
        ///</summary>
        [SugarColumn(ColumnName = "CreateDate")]
        public DateTime? CreateDate { get; set; }
        /// <summary>
        ///  
        /// 默认值: (0)
        ///</summary>
        [SugarColumn(ColumnName = "LabPrinted")]
        public int? LabPrinted { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "ChkBeginDate")]
        public DateTime? ChkBeginDate { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "ChkEndDate")]
        public DateTime? ChkEndDate { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "SfDate")]
        public DateTime? SfDate { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "Attachment")]
        public string Attachment { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "AttachmentPath")]
        public string AttachmentPath { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "type")]
        public int? Type { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "_cid")]
        public int? Cid { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "CF01")]
        public string Cf01 { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "CF02")]
        public string Cf02 { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "CF03")]
        public string Cf03 { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "CF04")]
        public string Cf04 { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "CF05")]
        public string Cf05 { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "CF06")]
        public string Cf06 { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "CF07")]
        public string Cf07 { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "CF08")]
        public string Cf08 { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "CF09")]
        public string Cf09 { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "CF10")]
        public string Cf10 { get; set; }

        /// <summary>
        /// 仓库单据明细导航
        /// </summary>
        [Navigate(NavigateType.OneToMany, nameof(IqcCheckReportDetail.Iqcno))]
        public List<IqcCheckReportDetail> FG_InvDetail { get; set; }
    }
}
